//
//  MZYinfoCollectionViewCell.m
//  WristWatch
//
//  Created by dllo on 15/10/23.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "MZYinfoCollectionViewCell.h"

@implementation MZYinfoCollectionViewCell

- (void)dealloc {
    [_myImageView release];
    [_myLabel release];
    
    [super dealloc];
}

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        self.myImageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 10, self.contentView.frame.size.width, self.contentView.frame.size.height / 1.5)];
        self.myImageView.layer.shadowColor = [UIColor grayColor].CGColor;
        self.myImageView.layer.shadowOffset = CGSizeMake(100, 100);
        self.myImageView.layer.shadowRadius = 10;
        self.myImageView.layer.shadowOpacity = 100.0;
        [self.contentView addSubview:self.myImageView];
        [_myImageView release];
        
        self.myLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, self.contentView.frame.size.height / 1.5 + 10, self.contentView.frame.size.width, self.contentView.frame.size.height / 3 - 10)];
        self.myLabel.font = [UIFont systemFontOfSize:13];
        self.myLabel.numberOfLines = 0;
        [self.contentView addSubview:self.myLabel];
        [_myLabel release];
    }
    return self;
}





@end
